From ac81ed3adb02fec744badb1b621f5605133692b0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 15 Jul 2022 16:44:54 -0400 Subject: [PATCH] text: Update placeholder visibility more When the text in the buffer changes, we should update the placeholder visibility, since we might have gone from empty to non-empty. --- gtk/gtktext.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtktext.c b/gtk/gtktext.c index 92903949fe..3a390fcc11 100644 --- a/gtk/gtktext.c +++ b/gtk/gtktext.c @@ -3695,6 +3695,7 @@ buffer_notify_text (GtkEntryBuffer *buffer, GtkText *self) { emit_changed (self); + update_placeholder_visibility (self); g_object_notify (G_OBJECT (self), "text"); } -- 2.30.2